package cn.shengongying.admin.dto;

import cn.shengongying.bean.DataTablePageResult;
import cn.shengongying.model.BannerList;
import lombok.Getter;
import lombok.Setter;

/**
 * author: RXK
 * date: 2022/2/19 星期六
 * desc:
 */
@Getter
@Setter
public class BannerListInDTO extends DataTablePageResult {

    private Long id;

    private String title;

    private Integer status;

    private String content;

    private String url;

    private Integer wight;



    public BannerList bannerList() {
        BannerList list = new BannerList();
        list.setId(this.id);
        list.setTitle(this.title);
        list.setStatus(this.status);
        list.setContent(this.content);
        list.setUrl(this.url);
        list.setWight(this.wight);
        return list;
    }


}
